package ch6;

import java.util.Scanner;

public class Zxf1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("输入一个整数：");
       int a = in.nextInt();
       // int a=64;
        int i = 1;
        for (; i * i < a; i++) {

        }if (i*i==a){
            System.out.println("这时"+a+"是"+i+"的平方数");
        }else
            System.out.println("a没有平方数");
    }
}
